import java.time.LocalDateTime;

public class Message {
    private String mid;
    private String cid;
    private String fid;
    private String mtitle;
    private String mcontent;
    private LocalDateTime mtime;

    public Message(){

    }

    public Message(String mid, String cid, String fid, String mtitle, String mcontent, LocalDateTime mtime) {
        this.mid = mid;
        this.cid = cid;
        this.fid = fid;
        this.mtitle = mtitle;
        this.mcontent = mcontent;
        this.mtime = mtime;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getMtitle() {
        return mtitle;
    }

    public void setMtitle(String mtitle) {
        this.mtitle = mtitle;
    }

    public String getMcontent() {
        return mcontent;
    }

    public void setMcontent(String mcontent) {
        this.mcontent = mcontent;
    }

    public LocalDateTime getMtime() {
        return mtime;
    }

    public void setMtime(LocalDateTime mtime) {
        this.mtime = mtime;
    }
}
